﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ending.Classes.XML
{
    class MsgHeaderStyle
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="name">域名</param>
        /// <param name="note">含义</param>
        /// <param name="index">位置</param>
        /// <param name="length">长度</param>
        public MsgHeaderStyle(string name,string note,string index,string length )
        {
            this.domName = name;
            this.domainNote = note;
            this.startIndex = index;
            this.length = length;
        }
        /**
         * 域类	domClass
         * 域名	domName
         * 含义	domainNote 
         * 位置 startIndex
         * 长度	length
         * 类型 _type
         * 属性	_prop
         * 说明 description  
         * 
         * 
         * 
         * 
        **/
        /// <summary>
        ///域类
        /// </summary>
        private string domClass;
        /// <summary>
        ///读写属性域类
        /// </summary>
        public string DomClass { get => DomClass; set => DomClass = value; }
        /// <summary>
        ///域名
        /// </summary>
        private string domName;
        /// <summary>
        ///读写属性域名
        /// </summary>
        public string DomName { get => DomName; set => DomName = value; }
        /// <summary>
        ///含义
        /// </summary>
        private string domainNote;
        /// <summary>
        ///读写属性含义
        /// </summary>
        public string DomainNote { get => DomainNote; set => DomainNote = value; }
        /// <summary>
        ///位置
        /// </summary>
        private string startIndex;
        /// <summary>
        ///读写属性位置
        /// </summary>
        public string StartIndex { get => StartIndex; set => StartIndex = value; }
        /// <summary>
        ///长度
        /// </summary>
        private string length;
        /// <summary>
        ///读写属性长度
        /// </summary>
        public string Length { get => Length; set => Length = value; }
        /// <summary>
        ///类型
        /// </summary>
        private string _type;
        /// <summary>
        ///读写属性类型
        /// </summary>
        public string Type { get => Type; set => Type = value; }
        /// <summary>
        ///属性
        /// </summary>
        private string _prop;
        /// <summary>
        ///读写属性属性
        /// </summary>
        public string Prop { get => Prop; set => Prop = value; }
        /// <summary>
        ///说明
        /// </summary>
        private string description;
        /// <summary>
        ///读写属性说明
        /// </summary>
        public string Description { get => Description; set => Description = value; }



    }
}
